package com.cong.modules.base;

import javax.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/error")
public class ErrorController {

    @RequestMapping("/403")
    public String noPermission(HttpServletResponse response) {
        response.setStatus(403);
        return "error/403";
    }

}
